package com.qf.service;

import com.qf.pojo.TbGoodsType;

import java.sql.SQLException;
import java.util.List;

public interface GoodsTypeService {
    List<TbGoodsType>  findAllSecondLevelType()throws SQLException;

    void addType(String name, String parent) throws Exception;

    int deleteType(String id);

    List<TbGoodsType> findTypeByPIdAndStaus(String pid, int status);
}
